<template>
  <div>
    <tableHeader />
  </div>
</template>
<script lang="ts" setup>
import {
  ref,
  provide,
  onMounted,
  reactive,
  onBeforeUnmount,
  markRaw,
} from "vue";
import tableHeader from "./tableHeader.vue";
import { useProductionWorkOrder } from "@/store/backend/ProductionPlan/workOrder";
import { useBomDict } from "@/store/backend/BomM/bomDict";
import { useFactoryStation } from "@/store/backend/FactoryM/stationInfo";
import { useBomM } from "@/store/backend/BomM/bomM";
import { useRoute, useRouter } from "vue-router";
import useCurrentInstance from "@/utils/useCurrentInstance";
import { useDictionary } from "@/store/backend/tool/dictionary";
import { useProductionPlan } from "@/store/backend/ProductionPlan/plan";

const planOrder = useProductionWorkOrder();
const bom = useBomM();
const bomD = useBomDict();
const station = useFactoryStation();
const route = useRoute();
const router = useRouter();
const dictionary = useDictionary();
const plan = useProductionPlan();

//全局事件总线
const { proxy } = useCurrentInstance();

provide("plan", plan);
provide("dictionary", dictionary);
provide("planOrder", planOrder);
</script>
<style lang="scss" scoped></style>
